package cn;

public class Userid {
    private int userid;
    private String name;
    private String password;
    private String Sex;
    private String Birthday;
    private String Native;
    private String Address;
    private int Phone;

    public Userid() {
    }

    public Userid(int userid, String name, String password, String sex, String birthday, String aNative, String address, int phone) {
        this.userid = userid;
        this.name = name;
        this.password = password;
        Sex = sex;
        Birthday = birthday;
        Native = aNative;
        Address = address;
        Phone = phone;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return Sex;
    }

    public void setSex(String sex) {
        Sex = sex;
    }

    public String getBirthday() {
        return Birthday;
    }

    public void setBirthday(String birthday) {
        Birthday = birthday;
    }

    public String getNative() {
        return Native;
    }

    public void setNative(String aNative) {
        Native = aNative;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public int getPhone() {
        return Phone;
    }

    public void setPhone(int phone) {
        Phone = phone;
    }


    @Override
    public String toString() {
        return "Userid{" +
                "userid=" + userid +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", Sex='" + Sex + '\'' +
                ", Birthday='" + Birthday + '\'' +
                ", Native='" + Native + '\'' +
                ", Address='" + Address + '\'' +
                ", Phone=" + Phone +
                '}';
    }
}